package com.solve.entity;

import com.solve.entity.base.PageParam;
import lombok.Data;

@Data
public class ResourceInfoComment extends PageParam {
    private String uuid;

    private String parent;

    private String type;

    private String text;

    private String resourceId;

    private String creatorid;

    private Integer grade;

    private User user;

    public ResourceInfoComment(String uuid, String parent, String type, String text, String resourceId, String creatorid, Integer grade) {
        this.uuid = uuid;
        this.parent = parent;
        this.type = type;
        this.text = text;
        this.resourceId = resourceId;
        this.creatorid = creatorid;
        this.grade = grade;
    }

    public ResourceInfoComment() {
        super();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getParent() {
        return parent;
    }

    public void setParent(String parent) {
        this.parent = parent == null ? null : parent.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId == null ? null : resourceId.trim();
    }

    public String getCreatorid() {
        return creatorid;
    }

    public void setCreatorid(String creatorid) {
        this.creatorid = creatorid == null ? null : creatorid.trim();
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }
}